/**
 *
 *  Util.Plot.TimeSeriesAppComponent, V0.7
 *
 *  @author Michael Liljenstam
 *
 */

package SSF.Util.Plot;


/**
 *  "Container" class for a window (frame) and a number of plot panes.
 *  "Heavier weight" menus for a standalone application.
 *  Creates the necessary objects (window & plots) to create a single live 
 *  time-series plot window for a standalone application.
 *  <br><br>
 *
 *  $Id: TimeSeriesAppComponent.java,v 1.3 2003/02/13 19:32:57 mili Exp $
 */

public class TimeSeriesAppComponent extends TimeSeriesComponent {


    ///////////////////////////////////////////////////////////////////
    ////                         constructors                      ////

    /**
     *  Constructs a "heavier weight" plot component for a stand-alone 
     *  application. The difference is only that it has more menu options, 
     *  uses <code>TimeSeriesAppWindow</code> instead of 
     *  <code>TimeSeriesWindow</code>.
     *  @param  numDatasets     Number of plot panels in the component.
     *  @param  windowTitle     Window title text.
     *  @param  winYsize        Total component Y size (pixels). Can be set 
     *                          to 0 to get a default.
     */
    public TimeSeriesAppComponent(int numDatasets, 
				  String windowTitle, int winYsize) 
	throws Exception {

	// inits
	super(numDatasets, winYsize);

	// create the window (frame)
	try {
	    _window = new TimeSeriesAppWindow(windowTitle, this);
	} catch (Exception e) {
	    System.err.println("Couldn't create window!");
	    System.err.println(e);
	    throw e;
	}
    }


    ///////////////////////////////////////////////////////////////////
    ////                         public methods                    ////


    ///////////////////////////////////////////////////////////////////
    ////                         private variables                 ////

}






/*=                                                                      =*/
/*=  Copyright (c) 1997--2000  SSF Research Network                      =*/
/*=                                                                      =*/
/*=  SSFNet is open source software, distributed under the GNU General   =*/
/*=  Public License.  See the file COPYING in the 'doc' subdirectory of  =*/
/*=  the SSFNet distribution, or http://www.fsf.org/copyleft/gpl.html    =*/
/*=                                                                      =*/
